package cn.js.sip.rat.system.service;

import cn.js.sip.rat.system.entity.SysUserEntity;
import cn.js.sip.rat.system.page.TableDataInfo;

/**
 * @ClassName: cn.js.sip.rat.system.service
 * @Description: TODO
 * @author: xuxiaoli
 * @Date: 2019-12-28   12:08
 */
public interface SysUserService extends BaseService<SysUserEntity> {

    /**
     * 根据账号查询 用户
     * @param account
     * @return
     */
    SysUserEntity checkUser(String account);

    TableDataInfo query(SysUserEntity entity);

    String checkLoginNameUnique(String account);

    String checkPhoneUnique(SysUserEntity user);

    String checkEmailUnique(SysUserEntity user);
}
